// 设置四川的 scScene
import * as THREE from "three";
import * as d3 from "d3";  //莫开托坐标 矫正地图坐标
import map from '../views/Map3d/constant/SCSMap.json'
import {handleData} from "./index.js";

const scene = new THREE.Scene();
// 将背景颜色设置为白色
scene.background = new THREE.Color("#000000");

export const SCScene = (gui) => {
    handleData({
        jsonData: map,
        scene,
        center: [104.065735, 30.659462],
        scale: 4500,
        level: 1,
        gui
    })
    return scene
}